Skip to main content

Expression

What is the expression?

Expression is used to define which node has to be executed after the current node.

Where to find an expression?

User Input, Decision, Event read, Event write nodes have expression tools.

Which programming language do we use to write expressions?

JavaScript

Example: We have a node which has 2 children (1, 2):

imgexp.png

And we want to make user input node to go only to child 2, in this case we will need an Expression.

img_1exp.png

Expression view has: JS Libraries : choose any library which was created before and use it in your code.

To know more info about JS Libraries follow this link

Rule: Choose Code or Expression

To know more info about Rules follow this link

    • Code - write simple JavaScript code
    • Expression - write any conditions

These conditions can be copied, deleted or added by pressing AND, OR operands.

img_21.png